package com.common.auth.api.service;

import java.util.List;

import com.common.auth.api.dto.ResourceDto;
import com.common.auth.dao.ResourceMapper;
import com.common.auth.po.ResourcePo;
import com.common.service.MapperService;

/**
 * <p>
 * 菜单信息表服务类
 * </p>
 *
 * @author system
 * @since 2024-03-08
 */
public abstract class ResourceService extends MapperService<ResourcePo, ResourceDto, ResourceMapper> {

	/**
	 * 删除资源信息
	 */
	public abstract void deleteMenuById(String resourceId);
	
	/**
	 * 查询所有菜单树
	 * @return
	 */
	abstract public List<ResourceDto> queryTreeList() ;
	
	/**
	 * 查询指定编码菜单树
	 * @param menuCodeList
	 * @return
	 */
	abstract public List<ResourceDto> queryTreeList(List<String> menuCodeList) ;
}
